package hm;

public class 三个和尚2 {
    public static void main(String[] args) {
        int height1 = 150;
        int height2 = 210;
        int height3 = 165;

        int tempHeight =height1 > height2 ? 150 : 210;
        int max =tempHeight >height3 ? tempHeight : height3;
        System.out.println("身高最高的是" + max );

    }
}
